package io.zhengsh.jvm;

public class GCRootDemo {

    private byte[] byteArray = new byte[100 * 1024 * 1024];

    public static void m1() {
        GCRootDemo gcRootDemo = new GCRootDemo();
        System.gc();
        System.out.println("第一次 GC 完成");
    }
    public static void main(String[] args) {
        m1();
    }
}
